# -*- encoding=utf8 -*-
__author__ = "Bryan.Chen"

from airtest.core.api import *

auto_setup(__file__)

using("../FlowTest.air")
import FlowTest

testCases = [
    {"moduleName": "Login_WechatLogin", "args": {}},
    {"moduleName": "Login_PopUpActivity", "args": {}},
    {"moduleName": "Login_Guide", "args": {}},
    {"moduleName": "Login_BindPhone", "args": {}},
    {"moduleName": "Login_Questionnaire", "args": {}},
    {"moduleName": "Login_SignIn", "args": {}},

    {"moduleName": "Hall_SwitchPage", "args": {"page": "Club"}, "path": "hall/"},
    {"moduleName": "Club_CreateClub", "args": {}, "path": "club/"},
    {"moduleName": "Club_DownloadGame", "args": {}, "path": "club/"},
    {"moduleName": "Club_ModifyClubInfo", "args": {}, "path": "club/"},
    {"moduleName": "Club_ShareClub", "args": {"clubName": "AT_"}, "path": "club/"},
    {"moduleName": "Club_Apply", "args": {"clubName": "AT_"}, "path": "club/"},
    {"moduleName": "Club_ManageMember", "args": {"clubName": "AT_"}, "path": "club/"},
    {"moduleName": "Club_RoomFlow", "args": {"clubName": "AT_"}, "path": "club/"},
    {"moduleName": "Club_Ranking", "args": {"clubName": "AT_"}, "path": "club/"},
    {"moduleName": "Club_Report", "args": {"clubName": "AT_"}, "path": "club/"},
    {"moduleName": "Club_CloseClub", "args": {}, "path": "club/"},
    {"moduleName": "Hall_SwitchPage", "args": {"page": "Hall"}, "path": "hall/"},
    
]

FlowTest.runTestWithRestart(testCases)
# FlowTest.runTest(testCases)



